console.log(777777 )
import { createApp } from "vue";
import { createRouter,createWebHistory } from 'vue-router' 
// import { routes , handleHotUpdate } from 'vue-router/auto-routes'
import App from './App.vue';

import './styles/index.css'
import './styles/index.scss'
import './styles/flex.scss'
const routes = [
    { path: '/home', component: () => import('./pages/home.vue') },
    { path: '/string', component: () => import('./pages/string.vue') },
    { path: '/array', component: () => import('./pages/array.vue') }

]
console.log(14,routes)

const router = createRouter({
    history : createWebHistory(process.env.BASE_URL), // vite
    routes
})
const app = createApp(App)
.use(router)
.mount('#app');
